package com.example.lab.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实验室信息表
 * </p>
 *
 * @author 布莱恩
 * @since 2025-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("laboratories")
@ApiModel(value="Laboratories对象", description="实验室信息表")
public class Laboratories implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "实验室ID")
    @TableId(value = "lab_id", type = IdType.AUTO)
    private Integer labId;

    @ApiModelProperty(value = "实验室名称")
    private String labName;

    @ApiModelProperty(value = "实验室编码")
    private String labCode;

    @ApiModelProperty(value = "所属学院ID")
    private Integer collegeId;

    @ApiModelProperty(value = "实验室位置")
    private String location;

    @ApiModelProperty(value = "实验室描述")
    private String description;

    @ApiModelProperty(value = "状态(0-禁用,1-启用)")
    private Boolean status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedAt;


}
